﻿
namespace Inaction.UI.Extensions.Properties {
    
    
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
        
        private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
        
        public static Settings Default {
            get {
                return defaultInstance;
            }
        }
        
        [global::System.Configuration.UserScopedSettingAttribute()]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.Configuration.DefaultSettingValueAttribute(@"using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Inaction.Extensions.BusinessAction;
%using%

namespace %namespace%
{
    public class %classname% : BusinessActionBase<%entitytype%>
    {
        public override bool CanExecute(%entitytype% entity)
        {
            return true;
        }

        public override void Execute(%entitytype% entity)
        {
             
        }
    }
}
")]
        public string BusinessActionCodeTemplete {
            get {
                return ((string)(this["BusinessActionCodeTemplete"]));
            }
            set {
                this["BusinessActionCodeTemplete"] = value;
            }
        }
        
        [global::System.Configuration.UserScopedSettingAttribute()]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.Configuration.DefaultSettingValueAttribute(@"using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Inaction.Extensions.BusinessRule;
%using%

namespace %namespace%
{
    public class %classname%_Rule : BusinessRuleBase<%entitytype%>
    {
        public override string CheckError(
        	%entitytype% t, 
        	System.Data.IDbTransaction trans)
        {
            return string.Empty;
        }
        public override void OnSaving(
        	%entitytype% t, 
        	System.Data.IDbTransaction trans)
        {
            return string.Empty;
        }
        public override void OnSaved(
        	%entitytype% t, 
        	System.Data.IDbTransaction trans)
        {
        	
        } 
    }
}")]
        public string BusinessRuleCodeTemplete {
            get {
                return ((string)(this["BusinessRuleCodeTemplete"]));
            }
            set {
                this["BusinessRuleCodeTemplete"] = value;
            }
        }
    }
}
